package com.hwadee.ems.domain.vo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import com.hwadee.ems.domain.po.Department;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DepartmentVO {

    public DepartmentVO(Department department) {
        this.id = department.getId();
        this.name = department.getName();
    }

    /**
     * 院系编号
     */
    private Long id;

    /**
     * 院系名称
     */
    private String name;

}
